package com.zzj.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzj.bean.TableEmployee;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * InnoDB free: 8192 kB Mapper 接口
 * </p>
 *
 * @author 花
 * @since 2022-03-04
 */
public interface TableEmployeeMapper extends BaseMapper<TableEmployee> {
    /**
     * 多表查询
     * 获取所有employee信息
     * @return
     */
    List<TableEmployee> getEmployees();

    List<TableEmployee> getEmpByLike(@Param("column") String column,@Param("val") String val);
}
